#include "head.h"

int main(int argc, char *argv[])
{
    FILE *fp;
    char args[N], ch;
    int i = 0;
    if ((fp = fopen(argv[1], "r")) == NULL)
    {
        printf("ERROR!");
        exit(0);
    }
    while (fgets(args, 17, fp))
    {
        tx(args, i++);
        tc(args);
    }
    fclose(fp);
}